//
//  Logger.swift
//  cangchu
//
//  Created by kang on 2021/11/26.
//

import Foundation

public class Logger{
    private static let TAG = "PUSH_SDK"
    
    //是否允许打印log
    public static var enableLog = true
    
    private init(){}
    
    static func log(tag:String,message:String){
        if Logger.enableLog{
            print("\(tag):\(message)")
        }
    }
    
    static func log(message:String){
        if Logger.enableLog{
            print("\(TAG):\(message)")
        }
        
    }
}
